Repository navigation
Settings: a self-hosted install's own AWS account never asks for a stack in AWS - #335
Merged
Merged
Conversation
…ack in AWS The install reads its own account with its own roles, whose read-only permissions arrive with each version update. Its card and the permissions panel say so, with a link to Version and updates, and never show Update in AWS. Other accounts keep the update stack.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On a self-hosted install, the AWS card for the install's own account showed "Update needed: N new read-only permissions" and an Update in AWS button. That button sends a person to launch a stack in AWS. The platform change linked below reads that account with the install's own roles, and the install's stack keeps their permissions current with each version update. This change makes the card and the permissions panel match.
Changes
src/components/connections.tsx:install_account, the card explains that the install reads its own account with its own role, and that version updates bring that role's permissions.src/components/aws-permissions.tsx: for the install's own account, the problem is shown in neutral rather than as an error, with the same link.src/lib/api.ts: an optionalinstall_accountfield onAwsAccountAbilitiesandAwsPermissions.e2e/integrations-page.spec.ts: a new test, "a self-hosted install's own account never asks for a stack in AWS". It checks:CoderHelmLogReaderisn't mentioned.Verification
tsc --noEmitpasses.npx playwright test e2e/integrations-page.spec.ts e2e/aws-permissions.spec.ts e2e/no-sideways-scroll*.spec.ts: 116 passed, 0 failed.